#ifndef _REGICTRATION_H_
#define _REGICTRATION_H_

//	KEY : XXXX-XXXXXXXXXX (MIN_NAME_LENGTH-1)-(KEY_LENGTH-MIN_NAME_LENGTH)

#define MIN_NAME_LENGTH		5
#define KEY_LENGTH			15

bool CheckKey(const char* szName, const char* szKey);
bool GenerateKey(const char* szName, char* szKey, int nLen); // nLen - length of buffer

#endif //_REGICTRATION_H_